package com.tao.system.service.sysUser;

import com.tao.common.creo.domain.Result;
import com.tao.system.domain.sysUser.dot.sysUserSaveDTO;
import com.tao.system.domain.sysUser.vo.LoginUserVO;
import org.springframework.stereotype.Service;
@Service
public interface ISysUserService {
    Result<String> login(String userAccount, String password);

    Result<String> add(sysUserSaveDTO sysUserDTO);

    Result<LoginUserVO> getUserInfo(String token);

    Result<Boolean> logout(String token);
}
